package br.com.lazyprogrammer.worldsoccermanager.network.task.places;

import android.content.Context;
import android.os.AsyncTask;

import java.util.List;

import br.com.lazyprogrammer.worldsoccermanager.network.Request;
import br.com.lazyprogrammer.worldsoccermanager.network.model.Place;

/**
 * Created by Andre on 09/09/2014.
 */
public class GetNearPlacesTask extends AsyncTask<String, Void, Request.Response> {

    private Context context;
    private Request.Callback callback;

    public GetNearPlacesTask(Context context, Request.Callback callback) {
        this.context = context;
        this.callback = callback;
    }

    @Override
    protected void onPreExecute() {
        super.onPreExecute();
        callback.onStart(getClass());
    }

    @Override
    protected Request.Response doInBackground(String... params) {
        return Request.Response.UnableConnectDatabase;
    }

    @Override
    protected void onPostExecute(Request.Response result) {

    }

}
